package org.zoomdev.zoom.ioc;

/**
 *
 */
public interface IocConstructor {

    /**
     * 用于从ioc容器中获取参数
     *
     * @return
     * @see IocKey
     * @see IocConfigKey
     */
    IocKey[] getKeys(IocKey resultKey);

    Object newInstance(IocKey resultKey, Object[] args) throws Throwable;
}
